#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
int main() {

    int sum1 = 0, sum2 = 0, num;

    for (int i = 0; i < 10; i++)

    {

        scanf("%d", &num);

        if (num > 0)

            sum1++;

        else if (num < 0)

            sum2++;

    }

    printf("positive:%d\nnegative:%d", sum1, sum2);

    return 0;

}